runtime.gcControllerState.heapReleased (field)
16 uses
runtime (current package)
arena.go#L948: sysMap(unsafe.Pointer(base), userArenaChunkBytes, &gcController.heapReleased)
arena.go#L958: gcController.heapReleased.add(-int64(userArenaChunkBytes))
malloc.go#L632: v = h.arena.alloc(n, heapArenaBytes, &gcController.heapReleased)
mgcpacer.go#L357: heapReleased sysMemStat // bytes released to the OS
mgcscavenge.go#L706: gcController.heapReleased.load()>>10, " KiB now, ",
mgcscavenge.go#L789: gcController.heapReleased.add(nbytes)
mheap.go#L1352: gcController.heapReleased.add(-int64(scav))
mheap.go#L1485: inUse := gcController.heapFree.load() + gcController.heapReleased.load() + gcController.heapInUse.load()
mheap.go#L1502: sysMap(unsafe.Pointer(h.curArena.base), size, &gcController.heapReleased)
mheap.go#L1533: sysMap(unsafe.Pointer(v), nBase-v, &gcController.heapReleased)
mstats.go#L437: totalMapped := gcController.heapInUse.load() + gcController.heapFree.load() + gcController.heapReleased.load() +
mstats.go#L463: if gcController.heapReleased.load() != uint64(consStats.released) {
mstats.go#L464: print("runtime: heapReleased=", gcController.heapReleased.load(), "\n")
mstats.go#L504: stats.HeapSys = gcController.heapInUse.load() + gcController.heapFree.load() + gcController.heapReleased.load()
mstats.go#L521: stats.HeapIdle = gcController.heapFree.load() + gcController.heapReleased.load()
mstats.go#L523: stats.HeapReleased = gcController.heapReleased.load()
|
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |